﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ASale_QCChange.aspx.cs" Inherits="ArtLand.OA.Project.AfterSale.ASale_QCChange" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <script src="../js/jquery-1.4.1.min.js"></script>
    <script src="../js/WebCommon.js"></script>
</head>
<body>
    <form id="form1" runat="server">
        <ext:PageManager runat="server" ID="pan" AutoSizePanelID="pan1" />
        <ext:Panel runat="server" ID="pan1" ShowHeader="false" ShowBorder="false" AutoScroll="true">
            <Toolbars>
                <ext:Toolbar Position="Footer">
                    <Items>
                        <ext:Button runat="server" ID="btnSave" IconAlign="Top" Text="保存" Icon="Accept" OnClick="btnSave_Click"></ext:Button>
                        <ext:ToolbarSeparator></ext:ToolbarSeparator>
                        <ext:Button runat="server" ID="btnT" Text="关闭" Icon="Cancel" IconAlign="Top" OnClientClick="RemTab('dynamic_added_tab_tab_qcadd');"></ext:Button>
                    </Items>
                </ext:Toolbar>
            </Toolbars>
            <Items>
                <ext:ContentPanel ShowHeader="false" BodyPadding="2px" ShowBorder="false" AutoScroll="true" runat="server" ID="Con1">
                    <style>
                        #mdA table, #mdA table td, #mdA table th {
                            border: 1px solid #000000;
                            border-collapse: collapse;
                            font-size: 14px;
                            padding-left: 5px;
                        }
                    </style>
                    <table width="850" border="0" align="center">
                        <tr>
                            <td height="50" align="center">
                                <span style="font-size: 18px;">客户回访调查表</span>
                            </td>
                        </tr>
                    </table>
                    <div id="mdA">

                        <table width="850" border="0" align="center">
                            <tr>
                                <td width="80" valign="center" style="height: 40px;">
                                    <p><span style="color: red;">*</span> 客户名称</p>
                                </td>
                                <td width="140" valign="center">
                                    <p>
                                        <ext:TriggerBox ID="txt_CUSNAM" Required="true" Label="客户名称" Width="140px" EnableEdit="false" Readonly="false" TriggerIcon="Search" EmptyText="选择客户" runat="server">
                                        </ext:TriggerBox>
                                        <ext:HiddenField runat="server" ID="hid_CUSNAM"></ext:HiddenField>
                                    </p>
                                </td>
                                <td width="80" valign="center">
                                    <p><span style="color: red;">*</span> 地址</p>
                                </td>
                                <td width="170" valign="center">
                                    <p>
                                        <ext:TextBox runat="server" ID="txt_ADDRES" Width="165px" Required="true" RequiredMessage="请输入地址"></ext:TextBox>
                                    </p>
                                </td>
                                <td width="80" valign="center">
                                    <p><span style="color: red;">*</span> 联系人</p>
                                </td>
                                <td width="170" valign="center">
                                    <p>
                                        <ext:TextBox runat="server" ID="txt_CONTAT" Width="165px" Required="true" RequiredMessage="请输入联系人"></ext:TextBox>
                                    </p>
                                </td>
                            </tr>
                            <tr>
                                <td width="80" valign="center" style="height: 40px;">
                                    <p><span style="color: red;">*</span> 电话</p>
                                </td>
                                <td width="140" valign="center">
                                    <p>
                                        <ext:TextBox runat="server" ID="txt_TELNUB" Width="135px" Required="true" RequiredMessage="请输入电话"></ext:TextBox>
                                    </p>
                                </td>
                                <td width="80" valign="center">
                                    <p>传真</p>
                                </td>
                                <td width="170" valign="center">
                                    <p>
                                        <ext:TextBox runat="server" ID="txt_FOXNUB" Width="165px"></ext:TextBox>
                                    </p>
                                </td>
                                <td width="80" valign="center">
                                    <p>邮箱</p>
                                </td>
                                <td width="170" valign="center">
                                    <p>
                                        <ext:TextBox runat="server" ID="txt_UEMAIL" Width="165px"></ext:TextBox>
                                    </p>
                                </td>
                            </tr>
                            <tr>
                                <td width="80" valign="center" style="height: 40px;">
                                    <p><span style="color: red;">*</span> 回访人员</p>
                                </td>
                                <td width="140" valign="center">
                                    <p>
                                        <ext:TextBox runat="server" ID="txt_ENGNAM" Width="135px" Required="true" RequiredMessage="请输入回访人员"></ext:TextBox>
                                    </p>
                                </td>
                                <td width="80" valign="center">
                                    <p>时间</p>
                                </td>
                                <td width="170" valign="center" colspan="4">
                                    <div style="width: 300px; height: 40px; margin-top: 30px; margin-left: 5px;">
                                        <div style="float: left;"><span style="color: red;">*</span> 到达（开始）：</div>
                                        <div style="float: left;">
                                            <ext:DatePicker runat="server" ID="txt_FRTIME" Width="135px" Required="true" RequiredMessage="请输入到达时间"></ext:DatePicker>
                                        </div>
                                    </div>
                                    <div style="width: 300px; height: 40px; padding: 5px;">
                                        <div style="float: left;"><span style="color: red;">*</span> 离开（结束）：</div>
                                        <div style="float: left;">
                                            <ext:DatePicker runat="server" ID="txt_TOTIME" Width="135px" Required="true" RequiredMessage="请输入离开时间"></ext:DatePicker>
                                        </div>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td width="80" valign="center" style="height: 40px;">
                                    <p><span style="color: red;">*</span> 购买时间</p>
                                </td>
                                <td width="140" valign="center" colspan="2">
                                    <p>
                                        <ext:DatePicker runat="server" ID="txt_PUTIME" Width="135px" Required="true" RequiredMessage="请输入购买时间"></ext:DatePicker>
                                    </p>
                                </td>
                                <td width="80" valign="center">
                                    <p>生产批次</p>
                                </td>
                                <td width="170" valign="center" colspan="2">
                                    <p>
                                        <ext:TextBox runat="server" ID="txt_PDBACH" Width="165px"></ext:TextBox>
                                    </p>
                                </td>
                            </tr>
                            <tr>
                                <td width="80" valign="center" style="height: 80px;" colspan="2">
                                    <p><span style="color: red;">*</span> 客户情况简介</p>
                                </td>
                                <td width="170" valign="center" colspan="4" style="padding-top: 5px;">
                                    <p>
                                        <ext:TextArea runat="server" ID="txt_CUINFO" Width="350px" Height="100px" Required="true" RequiredMessage="请输入客户情况简介"></ext:TextArea>
                                    </p>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="6" align="center">
                                    <p><span style="color: red;">*</span> 产品使用情况：（稳定性？优势？问题点？需求？）</p>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="6" align="center" style="padding-top: 5px;">
                                    <p>
                                        <ext:TextArea runat="server" ID="txt_USAGEC" Width="650px" Height="100px" Required="true" RequiredMessage="请输入产品使用情况"></ext:TextArea>
                                    </p>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="6" align="center">
                                    <p><span style="color: red;">*</span> 服务质量（回访人员服务态度？项目配合及实施情况？优势/弱势？）</p>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="6" align="center" style="padding-top: 5px;">
                                    <p>
                                        <ext:TextArea runat="server" ID="txt_SRINFO" Width="650px" Height="100px" Required="true" RequiredMessage="请输入服务质量"></ext:TextArea>
                                    </p>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="6" align="center">
                                    <p><span style="color: red;">*</span> 客户意见与建议</p>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="6" align="center" style="padding-top: 5px;">
                                    <p>
                                        <ext:TextArea runat="server" ID="txt_SUGTON" Width="650px" Height="100px" Required="true" RequiredMessage="请输入客户意见与建议"></ext:TextArea>
                                    </p>
                                </td>
                            </tr>
                            <tr>
                                <td width="80" valign="center" style="height: 40px;">
                                    <p><span style="color: red;">*</span> 客户签字</p>
                                </td>
                                <td width="170" valign="center" colspan="5">
                                    <p>
                                        <ext:TextBox runat="server" ID="txt_CUSIGN" Width="165px" Required="true" RequiredMessage="请输入客户签字"></ext:TextBox>
                                    </p>
                                </td>
                            </tr>
                        </table>

                    </div>
                </ext:ContentPanel>
                
                <ext:Grid runat="server" ID="Grid1" Width="1000px" CssStyle="padding-left:156px" Height="170px" OnRowDataBound="Grid1_RowDataBound" Title="售后回访原始凭证" OnRowCommand="Grid1_RowCommand" AutoScroll="true" ShowHeader="true" EnableRowNumber="true">
                    <Toolbars>
                        <ext:Toolbar ID="Toolbar1" runat="server">
                            <Items>
                                <ext:FileUpload runat="server" ID="filePhoto" ButtonText="上传附件" ButtonOnly="true"
                                    AutoPostBack="true" ButtonIcon="DiskUpload" OnFileSelected="filePhoto_FileSelected" Width="77px" Height="20px">
                                </ext:FileUpload>
                            </Items>
                        </ext:Toolbar>
                    </Toolbars>
                    <Columns>
                        <ext:BoundField DataField="FileName" Width="300px" HeaderText="文件名" />
                        <ext:BoundField DataField="FileName" Width="250px" HeaderText="文件名" Hidden="true" />
                        <ext:LinkButtonField ConfirmText="你确定要这么做么？" ConfirmTarget="Top" Icon="Decline" ColumnID="ID"
                            Width="50px" CommandName="Del" TextAlign="Center" HeaderText="删除" />
                    </Columns>
                </ext:Grid>
            </Items>
        </ext:Panel>
        <ext:HiddenField runat="server" ID="hf"></ext:HiddenField>
        <ext:Window ID="Window1" Title="编辑" Popup="false" EnableIFrame="true" runat="server" EnableConfirmOnClose="true" IFrameUrl="about:blank"
            Target="Top" IsModal="True" Width="500px" Height="400px">
        </ext:Window>
    </form>
</body>
</html>
